{"id":12829,"date":"2018-09-12T12:00:53","date_gmt":"2018-09-12T12:00:53","guid":{"rendered":"https:\/\/www.gravityforms.com\/?p=12829"},"modified":"2021-05-10T20:13:08","modified_gmt":"2021-05-11T00:13:08","slug":"redirecting-submission-wordpress","status":"publish","type":"post","link":"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/","title":{"rendered":"Redirecting Users After a Successful Form Submission in WordPress"},"content":{"rendered":"<p style=\"text-align: center;\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-12832\" src=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/wordpress-form-redirects-header-1024x683.jpg\" alt=\"WordPress Form Redirects Header Image\" width=\"610\" height=\"407\" srcset=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/wordpress-form-redirects-header-1024x683.jpg 1024w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/wordpress-form-redirects-header-300x200.jpg 300w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/wordpress-form-redirects-header-768x512.jpg 768w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/wordpress-form-redirects-header-90x60.jpg 90w\" sizes=\"(max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>Depending on your particular needs, you may need to redirect users who submit your form to another location on your WordPress site. Thanks to the confirmation settings in Gravity Forms, it's easy to redirect users to another page with just a few clicks. Adding Gravity Forms' advanced conditional logic to the mix, you can even redirect your submissions to different places, based on the data that they submitted.<\/p>\n<p><!--more--><\/p>\n<h2>Creating Redirect Form Confirmations<\/h2>\n<p>The simplest solution to redirect users after a successful form submission is to change your form's confirmation type to a\u00a0<em>Redirect<\/em>. Here's how to do it:<\/p>\n<ol>\n<li>Access the form that you want to edit by logging into your WordPress admin dashboard, clicking on <strong>Forms<\/strong>, then click on the form that you want to change.<\/li>\n<li>On the top of the Form Editor, hover over <strong>Form Settings<\/strong> and click on <strong>Confirmations<\/strong>.<\/li>\n<li>For redirecting all successful form submissions, edit your current default confirmation by clicking on it.<\/li>\n<li>Within the Confirmation editor, you'll notice 3 different options for how your form confirmation will behave. Click on the\u00a0<strong>Redirect<\/strong> option to switch it to a redirect.<\/li>\n<li>Upon selecting the\u00a0<em>Redirect<\/em> option, you'll notice a\u00a0<strong>Redirect URL<\/strong> field appear. This field is where you'll enter the URL that users will redirect to.<\/li>\n<\/ol>\n<p>If all went well, your form confirmation should something like this:<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" class=\"aligncenter wp-image-12831 size-full\" title=\"WordPress Form Confirmation Redirect Configuration\" src=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/form-redirect-confirmation.png\" alt=\"WordPress Form Confirmation Redirect Configuration\" width=\"559\" height=\"247\" srcset=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/form-redirect-confirmation.png 559w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/form-redirect-confirmation-300x133.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/p>\n<p>Once you've configured your form's redirect, be sure to save your settings so that they take effect. Also be sure to fully test your changes by going to the form and submitting it.<\/p>\n<p>Looking to add more advanced redirects so that only certain users who submit your form are redirected? Keep reading. We'll cover it in the next section.<\/p>\n<h2>Creating Conditional Form Redirects<\/h2>\n<p>If you're looking for a bit more of a complex setup and only want to redirect some users, depending on what they select when submitting the form, it's just as easy as any other form confirmation. Here's how to do it:<\/p>\n<ol>\n<li>Start by going to the\u00a0<em>Confirmations<\/em> settings for your form. If you're not sure how to get there, take a look at the previous section in this article or our documentation on Gravity Forms Confirmations.<\/li>\n<li>Since this is a redirect that won't occur by default, you'll want to create a brand new form confirmation. Just click the\u00a0<strong>Add New<\/strong> button to create a new one.<\/li>\n<li>Once inside your new confirmation, set the\u00a0<strong>Confirmation Type<\/strong> to\u00a0<strong>Redirect<\/strong> and enter the URL that you want to redirect to into the\u00a0<strong>Redirect URL<\/strong>.<\/li>\n<li>As this is a new confirmation outside of the default confirmation settings, you'll now see an option labeled\u00a0<strong>Conditional Logic<\/strong>. You'll be able to configure any <a href=\"https:\/\/docs.gravityforms.com\/conditional-logic-confirmations\/\">confirmation redirect conditions<\/a> inside that option.<\/li>\n<\/ol>\n<p>Conditional Logic settings will allow you to perform your desired actions based on the form submission results. For example, if you wanted to only redirect users based on the value of a radio button field, you would configure something like this:<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-12830 size-full\" title=\"WordPress Form Confirmation Redirect Conditional Logic\" src=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/form-confirmation-redirect-conditional-logic.png\" alt=\"WordPress Form Confirmation Redirect Conditional Logic\" width=\"658\" height=\"369\" srcset=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/form-confirmation-redirect-conditional-logic.png 658w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/form-confirmation-redirect-conditional-logic-300x168.png 300w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/p>\n<p>Once you're finished creating your new conditional form confirmation, don't forget to save it. As always, it a good idea to fully test your changes after making them as well.<\/p>\n<h2>Deeper Learning<\/h2>\n<p>If you're looking for more information on conditional logic, take a look at our <a href=\"https:\/\/docs.gravityforms.com\/conditional-logic-confirmations\/\">conditional logic documentation<\/a> for a deeper look.<\/p>\n<p>As always, feel free to post your questions or comments within the comments section below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Depending on your particular needs, you may need to redirect users who submit your form to another location on your WordPress site. Thanks to the confirmation settings in Gravity Forms, it&#8217;s easy to redirect users to another page with just a","protected":false},"author":204039,"featured_media":12832,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[221],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v16.5 (Yoast SEO v16.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Redirecting Users After a Successful Form Submission in WordPress<\/title>\n<meta name=\"description\" content=\"Redirecting users after a successful form submission is easy with Gravity Forms. Here&#039;s how you can redirect form submissions in WordPress.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Redirecting Users After a Successful Form Submission in WordPress\" \/>\n<meta property=\"og:description\" content=\"Depending on your particular needs, you may need to redirect users who submit your form to another location on your WordPress site. Thanks to the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Gravity Forms\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GravityForms\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-12T12:00:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-11T00:13:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/wordpress-form-redirects-header-1024x683.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"683\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GravityForms\" \/>\n<meta name=\"twitter:site\" content=\"@GravityForms\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.gravityforms.com\/#organization\",\"name\":\"Gravity Forms\",\"url\":\"https:\/\/www.gravityforms.com\/\",\"sameAs\":[\"https:\/\/www.facebook.com\/GravityForms\",\"https:\/\/twitter.com\/GravityForms\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.gravityforms.com\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/06\/gravity_forms_logo.jpg\",\"contentUrl\":\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/06\/gravity_forms_logo.jpg\",\"width\":268,\"height\":294,\"caption\":\"Gravity Forms\"},\"image\":{\"@id\":\"https:\/\/www.gravityforms.com\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.gravityforms.com\/#website\",\"url\":\"https:\/\/www.gravityforms.com\/\",\"name\":\"Gravity Forms\",\"description\":\"WordPress Contact Forms\",\"publisher\":{\"@id\":\"https:\/\/www.gravityforms.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.gravityforms.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/wordpress-form-redirects-header.jpg\",\"contentUrl\":\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/wordpress-form-redirects-header.jpg\",\"width\":5016,\"height\":3344,\"caption\":\"WordPress Form Redirects Header Image\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/#webpage\",\"url\":\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/\",\"name\":\"Redirecting Users After a Successful Form Submission in WordPress\",\"isPartOf\":{\"@id\":\"https:\/\/www.gravityforms.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/#primaryimage\"},\"datePublished\":\"2018-09-12T12:00:53+00:00\",\"dateModified\":\"2021-05-11T00:13:08+00:00\",\"description\":\"Redirecting users after a successful form submission is easy with Gravity Forms. Here's how you can redirect form submissions in WordPress.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Gravity Forms\",\"item\":\"https:\/\/www.gravityforms.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To\",\"item\":\"https:\/\/www.gravityforms.com\/category\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Redirecting Users After a Successful Form Submission in WordPress\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/#webpage\"},\"author\":{\"@id\":\"https:\/\/www.gravityforms.com\/#\/schema\/person\/8b24a831453cc6d65a6546d612e84db1\"},\"headline\":\"Redirecting Users After a Successful Form Submission in WordPress\",\"datePublished\":\"2018-09-12T12:00:53+00:00\",\"dateModified\":\"2021-05-11T00:13:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/#webpage\"},\"wordCount\":562,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.gravityforms.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/wordpress-form-redirects-header.jpg\",\"articleSection\":[\"How To\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.gravityforms.com\/redirecting-submission-wordpress\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.gravityforms.com\/#\/schema\/person\/8b24a831453cc6d65a6546d612e84db1\",\"name\":\"Jeff Matson\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.gravityforms.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/358414d5ccd2f8c8818920cd8e9a3e7a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/358414d5ccd2f8c8818920cd8e9a3e7a?s=96&d=mm&r=g\",\"caption\":\"Jeff Matson\"},\"url\":\"https:\/\/www.gravityforms.com\/author\/user59e51636405391-81908773\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/posts\/12829"}],"collection":[{"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/users\/204039"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/comments?post=12829"}],"version-history":[{"count":0,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/posts\/12829\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/media\/12832"}],"wp:attachment":[{"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/media?parent=12829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/categories?post=12829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/tags?post=12829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}